home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Magazine / SoundLab / Studio16add / scripts / CDDA2StudioBatch < prev    next >
Encoding:
AmigaDOS Script File  |  1997-11-17  |  877 b   |  35 lines

  1. .key PATTERN/A,DEST/A,INTEL/S
  2. .bra {
  3. .ket }
  4.  
  5. ; This script can convert many CDDA images to Studio 16 files based
  6. ; on pattern matching.
  7. ;
  8. ; $VER: CDDA2StudioBatch 2.0 (17.11.97)
  9. ; By Kenneth "Kenny" Nilsen (kenny@bgnett.no)
  10. ;
  11. ; USAGE: CDDA2StudioBatch <pattern> <destpath/name> [INTEL]
  12. ;
  13. ; NOTE: The commands must be in the command search path. To be safe
  14. ; copy the commands in C: or add the path where you keep the commands to
  15. ; the global search path (startup-sequence: path <path> ADD).
  16.  
  17. ;-- convert files
  18.  
  19. if {INTEL}
  20.     list {PATTERN} files lformat="echo *"Processing file '%N'...*"*nCDDA2Studio %P%N {DEST} -i" >t:tmp.16
  21. else
  22.     list {PATTERN} files lformat="echo *"Processing file '%N'...*"*nCDDA2Studio %P%N {DEST}" >t:tmp.16
  23. endif
  24.  
  25. echo "Converting CDDA to Studio 16.. please wait!"
  26.  
  27. execute t:tmp.16
  28.  
  29. delete t:tmp.16 >nil:
  30. delete env:s16cmd >nil:
  31.  
  32. echo "Done"
  33.  
  34. lab Final
  35.